﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Xc.DataAccess.HyperTerminalCore.Services;
using Xc.DataAccess.Protocoals.PcpChannels.Services;
using Xc.Logics.HyperTerminalCore.Udp.ViewModels;

namespace Xc.Logics.HyperTerminalCore.Udp.Models
{
    public class AppSetting
    {

        /// <summary>
        /// UDP配置信息
        /// </summary>
        public UdpServerOption UdpServerOption { get; set; } = new UdpServerOption();
        /// <summary>
        /// 升级包信息
        /// </summary>
        public PackageInfo PackageInfo { get; set; }
        /// <summary>
        /// 升级包分包大小
        /// </summary>
        public ushort PackageSize { get; set; } = 256;
        public PcpChannelOption PcpChannelOption { get; set; }=new PcpChannelOption();
        /// <summary>
        /// 自动调用
        /// </summary>
        public bool AutoCall { get; set; } = true;
    }
}
